<?php
class Zend_View_Helper_ArticleViewIcon extends Zend_View_Helper_Abstract {
    public function ArticleViewIcon($privacy) {
        $video = '';
        $image = '';
        if($privacy & 2){$video = '<span class="icon_portal_thethao icon_have_video">&nbsp;</span>';}
        if($privacy & 4){$image = '<span class="icon_portal_thethao icon_have_photo">&nbsp;</span>';}
        return $image.$video;
    }
}
?>
